<?php $this->load->library('urlutility');?>
<?php $type=array();
if(isset($_GET['type'])) $type='&type='.$_GET['type'];?>

<div class="fl w660" id="box_inside1">
        <?php 
		 foreach($data as $list){?>
        <div class="item bder_b1_d5 pdt12 pdb10">
          <h3 class="blue ff_museo700 f16 mgt0 pdl10 lheight23 cap"><?php echo $list["name"]; ?> <em class="ff_museo500 gray lighter cap f13"><?php echo "<br />".$list["provide"]; ?></em></h3>
          <a href="<?php echo $this->urlutility->getactivity_detail($list['id'],$list['name'],'?datefrom='.$_GET['datefrom'].'&provide='.$_GET['provide'].'&price='.$_GET['price'].'&type='.$_GET['type']);?>"><img width="97" height="75" src="<?php echo base_url()."uploads/activity/".$list["avatar"]; ?>" alt="<?php echo "Best of Myanmar - ".$list["name"]." - ".$list["provide"]." - ".$list["address"]; ?>" title="<?php echo "Best of Myanmar - ".$list["name"]." - ".$list["provide"]." - ".$list["address"]; ?>" class="fl mgr8 pdl10"/> </a>
          <div class="fl w273 pdr20"><strong class="black"><?php echo $list["typeofactivity"] ?></strong><br />
            <span class="black"><?php echo substr($list["promotion"],0,90); ?> ... <a href="<?php echo $this->urlutility->getactivity_detail($list['id'],$list['name'],'?datefrom='.$_GET['datefrom'].'&provide='.$_GET['provide'].'&price='.$_GET['price'].'&type='.$_GET['type']);?>" class="blue">more »</a></span> </div>
          <a href="<?php echo $this->urlutility->getactivity_detail($list['id'],$list['name'],'?datefrom='.$_GET['datefrom'].'&provide='.$_GET['provide'].'&price='.$_GET['price'].'&type='.$_GET['type']);?>" class="blue">icons</a>
          <div class="fr w60 f11 txt_center ff_museo500"><strong class="f18 orange">
            <?php if(isset($list["price"])==NULL)echo 'N/A';else echo "$".$list["price"] ?>
            </strong><br>
            for 1 pax <a class="item ff_museo500 bgr_143167 white pdt4 pdb3 mgt4 f14" href="<?php echo $this->urlutility->getactivity_detail($list['id'],$list['name'],'?datefrom='.$_GET['datefrom'].'&provide='.$_GET['provide'].'&price='.$_GET['price'].'&type='.$_GET['type']);?>">DETAILS</a> </div>
        </div>
        <?php }?>
      </div>